#!/bin/bash
sleep 3s
gnome-terminal -x bash -c  "source ${HOME}/kbt_ws/devel/setup.bash;roslaunch mavros px4.launch tgt_system:=1;exec bash"
sleep 3s
gnome-terminal -x bash -c "source $HOME/kbt_ws/devel/setup.bash;roslaunch ground_ros_serial main.launch; exec bash"
sleep 3s
gnome-terminal -x bash -c "source $HOME/kbt_ws/devel/setup.bash;roslaunch io_det gpio_multi.launch; exec bash"
#gnome-terminal -x bash -c "export DISABLE_ROS1_EOL_WARNINGS=1;source ${HOME}/kbt_ws/devel/setup.bash;roslaunch ground_location main.launch;exec bash"
sleep 3s 
gnome-terminal -x bash -c "source $HOME/kbt_ws/devel/setup.bash; roslaunch swarm_ros_bridge gcs_bridge.launch; exec bash"
sleep 3s
gnome-terminal -x bash -c "source ${HOME}/kbt_ws/devel/setup.bash;rosrun kbt_cam kbt_cam_node;exec bash"
wait
exit 0

